import icons from "./icons.json";
export default {
  name: "icon-select",
  props: {
    value: {
      type: String,
      required: true
    },
    disabled: {
      type: Boolean,
      default: false
    }
  },
  model: {
    prop: "value",
    event: "change"
  },
  data() {
    return {
      icons: icons
    };
  },
  methods: {
    iconClick(className) {
      console.log('className',className)
      this.$emit("change", className);
    },
    clearHandle() {
      this.$emit("change", "");
    }
  }
};
